package pojo;

public class Cart {
    private int uid;
    private int gid;
    private int g_count;

    public Cart() {
    }

    public Cart(int uid, int gid, int g_count) {
        this.uid = uid;
        this.gid = gid;
        this.g_count = g_count;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public int getGid() {
        return gid;
    }

    public void setGid(int gid) {
        this.gid = gid;
    }

    public int getG_count() {
        return g_count;
    }

    public void setG_count(int g_count) {
        this.g_count = g_count;
    }

    @Override
    public String toString() {
        return "Cart{" +
                "uid=" + uid +
                ", gid=" + gid +
                ", g_count=" + g_count +
                '}';
    }
}
